package com.strange.mdl.module.mdl.controller.admin.activity.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.strange.mdl.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.strange.mdl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 活动用户参与记录分页 Request VO")
@Data
public class ActivityUserPageReqVO extends PageParam {

    @Schema(description = "参与状态：0-报名中；1-已取消；2-已签到；3-待审核；4-已拒绝", example = "2")
    private Integer status;

    @Schema(description = "报名时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] signupTime;

    @Schema(description = "取消时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] cancelTime;

    @Schema(description = "是否签到：0-否；1-是")
    private Integer checkedIn;

    @Schema(description = "角色：0-普通参与者；1-组织者；2-管理员")
    private Integer role;

}